package com.ethan.staticproxy;

/**
 * @author ethan
 * create 2018-08-02 上午10:44
 * desc 真实委托类
 **/
public class RealSubject implements Subject {

    @Override
    public void dealTask(String taskName) {
        System.out.println("正在执行任务:"+taskName);
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
